package com.tedu.service;

import com.tedu.dao.StudentDao;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service("studentService")
public class StudentService {

    @Resource(name =  "studentDaoForMySQL")
    private StudentDao studentDao;
    public void deleteStudent(){
        studentDao.deleteById();
    }
}
